<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/public/header.jsp"%>
<html>
	<head>
		<title>工单状态统计汇总</title>
	</head>
	<script type="text/javascript">
		$(function(){
			$('#table').datagrid({
				title:"工单状态统计表",
				iconCls:'icon-edit',
				loadMsg:'正在加载数据，请稍后......',
				url:'<%=contextPath %>/springMVC/statistic/listPageGdStatus',
				rownumbers:true,
				fitColumns:true,
				nowrap:false,
				idField:'id',
				frozenColumns:[[
				   
				]],
				columns:[[
					{title:'所属部门',field:'dept_name',width:100,align:'center'},
					{title:'系统总工单',field:'sum_gd',width:80,align:'center'},
					{title:'已关闭工单',field:'close_gd',width:80,align:'center'},
					{title:'工单发起',field:'start_gd',width:100,align:'center'},
					{title:'变更',field:'gb_gd',width:100,align:'center'},
					{title:'现场交底',field:'jd_gd',width:50,align:'center'},
					{title:'施工中',field:'sg_gd',width:50,align:'center'},
					{title:'发起核算',field:'hs_gd',width:50,align:'center'},
					{title:'成本固化',field:'gh_gd',width:50,align:'center'},
					{title:'预警工单',field:'jg_gd',width:50,align:'center'}
					
				]],
				pageSize:10,
				pageList : [10,50,100],  
				pagination:true,
				onLoadSuccess:function(rtJson){
					if(rtJson.rtState== '1')
					{
						$.messager.alert('提示',rtJson.rtMsrg);
					}
				}
			});

		});
			
		
	</script>
	<body style="height:97%">
	
			<div id="table" data-options="fit:true" ></div>
</body>
</html>